package com.ljx.NoteBody.mapper;

import com.ljx.NoteBody.entity.Comments;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentsMapper {

    int saveComment(Comments comments);

    List<Comments> queryCommentByNoteId(Long noteId);

    int commentAgreeAdd(Long id);

    int commentAgreeSub(Long id);
}
